<!--SIF Implementation Specification 2.2-6 (March 17, 2008)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.sifinfo.org/infrastructure/2.x" xmlns:sif="http://www.sifinfo.org/infrastructure/2.x" elementFormDefault="qualified">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="imports/xml/xml.xsd" />
  <xs:complexType name="VendorInfoType">
    <xs:annotation>
      <xs:documentation>This object contains basic vendor information.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Name" type="xs:normalizedString">
        <xs:annotation>
          <xs:documentation>Name of the vendor.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ContactInfo" minOccurs="0" nillable="true" type="sif:ContactInfoType">
        <xs:annotation>
          <xs:documentation>Contact information.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CustomerId" minOccurs="0" nillable="true" type="xs:normalizedString">
        <xs:annotation>
          <xs:documentation>Account number or other ID.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EmployeePersonalRefId" minOccurs="0" nillable="true" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>
								When the vendor and employee are the same, it may be appropriate to link the EmployeePersonal records to
								the VendorInfo when tracking expense and tuition reimbursement.  This is the GUID of the associated EmployeePersonal object.
							</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Send1099" minOccurs="0" nillable="true" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Send 1099 to this vendor.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FederalTaxId" minOccurs="0" nillable="true">
        <xs:annotation>
          <xs:documentation>Taxpayer identification number/Federal tax ID for this vendor.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:normalizedString">
              <xs:attribute name="Code" use="required">
                <xs:annotation>
                  <xs:documentation>
								The type tax ID that this is. TIN based on IRS Publication 1915 [IRSTIN].
							</xs:documentation>
                </xs:annotation>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="EIN" />
                    <xs:enumeration value="SSNO" />
                    <xs:enumeration value="ITIN" />
                    <xs:enumeration value="ATIN" />
                    <xs:enumeration value="OTHER" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="SIF_Metadata" minOccurs="0" nillable="true" type="sif:SIF_MetadataType" />
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="sif:SIF_ExtendedElementsType" />
    </xs:sequence>
    <xs:attribute name="RefId" use="required" type="sif:RefIdType">
      <xs:annotation>
        <xs:documentation>Vendor ID.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="VendorInfo" type="sif:VendorInfoType" />

</xs:schema>